package com.hmkj.core.po.fqa;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 常见问题表实体信息<br>
 *
 * @author lizhijie
 * @date   2018-07-04 05:39:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "常见问题表")
@Table(name = "s_fqa")
public class Fqa extends GenericPo<Integer> {

    public static final String TABLE_NAME = "s_fqa";

	
	/**常见问题类型ID **/
	@ApiModelProperty(value = "常见问题类型ID ")
	private Integer categoryId;
	/**标题**/
	@ApiModelProperty(value = "标题")
	private String title;
	/**回答**/
	@ApiModelProperty(value = "回答")
	private String answer;
	/****/
	@ApiModelProperty(value = "")
	private String remark;

    public Fqa(){}

    public Fqa(Consumer<Fqa> consumer){
    consumer.accept(this);
    }
}

